{%- use "@AkeneoCommunityFreeTrial/adblocker.html.twig" with styles as free_trial_styles, content as free_trial_content -%}
<!DOCTYPE html>
<html>
    <head>
        <title>Loading...</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="shortcut icon" href="favicon.ico" />

        <link rel="stylesheet" href="{{asset('css/pim.css', 'frontend')}}"/>

        {% if feature_is_enabled('free_trial') %}
            {{ block('free_trial_styles') }}
        {% endif %}

        {{ external_javascript_dependencies() }}
        <script type="text/javascript" src="{{asset('dist/vendor.min.js', 'frontend')}} "></script>
        <script type="text/javascript" src="{{asset('dist/main.min.js', 'frontend')}} "></script>
    </head>
    <body>
        {% if feature_is_enabled('segment_integration') %}
            <div id="cookie-consent"></div>
        {% endif %}
        <div class="app">
            <div class="AknDefault-progressContainer">
                <h3>
                    Loading ...
                </h3>
                <img src="{{ asset('bundles/pimui/images/main-loader.gif') }}"/>
                {% if true == oro_config_value('pim_ui.loading_message_enabled') %}
                <h4 class="AknDefault-progressContainer--loadingMessages">
                    {{ random(oro_config_value('pim_ui.loading_messages')|split('\n')) }}
                </h4>
                {% endif %}
            </div>
        </div>
        <div class="hash-loading-mask"></div>

        {% if feature_is_enabled('free_trial') %}
            {{ block('free_trial_content') }}
        {% endif %}
    </body>
</html>
